using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace EasySeries
{
    public partial class FrmUpdateAvailable : Form
    {
        public FrmUpdateAvailable()
        {
            InitializeComponent();
        }

        public FrmUpdateAvailable(string num, string name, string url)
        {
            InitializeComponent();
            lblNumVersion.Text = num;
            lkVersion.Tag = url;
            lkVersion.Click += new EventHandler(lkUrlSite_Click);
        }

        void lkUrlSite_Click(object sender, EventArgs e )
        {
            System.Diagnostics.Process.Start((string)lkVersion.Tag);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

    }
}